// -----------------------------------------------------------------------
//  <copyright file="AuthorizationCacheItem.cs" company="LiuliuSoft">
//      Copyright (c) 2022-2024 DaprPlus. All rights reserved.
//  </copyright>
//  <site>https://www.dapr.plus</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2024-03-07 14:24</last-date>
// -----------------------------------------------------------------------

using DaprPlus.Filters;

namespace DaprPlus.Authorization;

public class ResourceAuthCacheItem
{
    public long RoleId { get; set; }

    public string[] Operations { get; set; } = [];

    public IDictionary<string, FilterGroup> FilterGroups { get; set; } =
        new Dictionary<string, FilterGroup>();
}
